//
//  EventLargeCell.m
//  Gruphoto
//
//  Created by Thao Nguyen Huy on 1/5/13.
//  Copyright (c) 2013 CNC Software. All rights reserved.
//

#import "EventLargeCell.h"
#import <QuartzCore/QuartzCore.h>

@implementation EventLargeCell

@synthesize backgroundView, eventPassTimeLabel, eventTitleLabel;
@synthesize LargeImageView, smallImageView1, smallImageView2, smallImageView3;
@synthesize authorAvatarImageView, authorNameLabel, numberOfLikesLabel, numberOfPeoplesLabel, numberOfPhotosLabel;

+ (id)cellFromNib {
    EventLargeCell *cell = nil;
    NSArray *nibs = [[NSBundle mainBundle] loadNibNamed:@"EventLargeCell" owner:self options:nil];
    cell = (EventLargeCell *)[nibs objectAtIndex:0];
    cell.authorNameLabel.textColor = [UIColor colorWithRed:107/255.0 green:120/255.0 blue:130/255.0 alpha:1.0];
    cell.numberOfPeoplesLabel.textColor = [UIColor colorWithRed:107/255.0 green:120/255.0 blue:130/255.0 alpha:1.0];
    cell.numberOfPhotosLabel.textColor = [UIColor colorWithRed:107/255.0 green:120/255.0 blue:130/255.0 alpha:1.0];
    cell.numberOfLikesLabel.textColor = [UIColor colorWithRed:107/255.0 green:120/255.0 blue:130/255.0 alpha:1.0];
    cell.eventPassTimeLabel.textColor = [UIColor colorWithRed:107/255.0 green:120/255.0 blue:130/255.0 alpha:1.0];
    cell.eventTitleLabel.textColor = [UIColor colorWithRed:71/255.0 green:138/255.0 blue:197/255.0 alpha:1.0];
    cell.backgroundView.layer.borderWidth = 1;
    cell.backgroundView.layer.borderColor = [UIColor colorWithRed:146/255.0 green:149/255.0 blue:152/255.0 alpha:1.0].CGColor;
    return cell;
}

- (void)dealloc {
    self.backgroundView = nil;
    self.eventPassTimeLabel = nil;
    self.eventTitleLabel = nil;
    self.LargeImageView = nil;
    self.smallImageView1 = nil;
    self.smallImageView2 = nil;
    self.smallImageView3 = nil;
    self.authorNameLabel = nil;
    self.authorAvatarImageView = nil;
    self.numberOfLikesLabel = nil;
    self.numberOfPeoplesLabel = nil;
    self.numberOfPhotosLabel = nil;
    [super dealloc];
}

@end
